/**
 * @description  : 无证户档案-经营信息
 * @descriptionDetail : 经营信息
 * @copyright    : 浙江烟草
 * @author       : mc
 * @create       : 2022-12-05 15:03:48
 */
<template>
  <view>
    <view class="retail">
      <fsection :title="title.basemsg" class="pl-16"></fsection>
      <u-gap :height="$theme.cm_section_top_gap_height" :bg-color="$theme.cm_gap_color"></u-gap>
    </view>
    <view class="rdcontent">
      <u-row gutter="16" align="top" class="divided-line">
        <u-col span="6">
          <view class="msg-title">
            经营场地权属
          </view>
          <view class="msg-context">
            {{ baseInfo.groundOwnershipName || "/" }}
          </view>
        </u-col>
        <u-col span="6">
          <view class="msg-title">
            零售业态
          </view>
          <view class="msg-context">
            {{ baseInfo.bizFormatName || "/" }}
          </view>
        </u-col>
      </u-row>
      <u-row gutter="16" align="top" class="divided-line">
        <u-col span="6">
          <view class="msg-title">
            经营面积(平方米)
          </view>
          <view class="msg-context">
            {{ baseInfo.bizArea|| "/" }}
          </view>
        </u-col>
        <u-col span="6">
          <view class="msg-title">
            地理环境
          </view>
          <view class="msg-context">
            {{ baseInfo.envTypeName || "/" }}
          </view>
        </u-col>
      </u-row>
      <u-row gutter="16" justify="space-between" align="top" class="divided-line">
        <u-col span="6">
          <view class="msg-title">
            是否曾申请办证
          </view>
          <view class="msg-context">
            {{ baseInfo.isApplyLic == '0' ? '是' : '否' || "/" }}
          </view>
        </u-col>
        <u-col span="6">
          <view class="msg-title">
            是否公开买卖
          </view>
          <view class="msg-context">
            {{ baseInfo.isOnsale == '0' ? '是' : '否' || "/" }}
          </view>
        </u-col>
      </u-row>
      <u-row gutter="16" justify="space-between" align="top" class="divided-line">
        <u-col span="6">
          <view class="msg-title">
            是否售卖电子烟
          </view>
          <view class="msg-context">
            <!-- baseInfo.areaCode ||  -->
            {{ baseInfo.isElectronicCigarette == '0' ? '是' : '否' || "/" }}
          </view>
        </u-col>
        <u-col span="6">
          <view class="msg-title">
            未办证原因
          </view>
          <view class="msg-context">
            {{ baseInfo.unlicenseReasonName || "/" }}
          </view>
        </u-col>
      </u-row>
      <u-row gutter="16" justify="space-between" align="top" class="divided-line">
        <u-col span="6">
          <view class="msg-title">
            经营内容
          </view>
          <view class="msg-context">
            {{ getDicNames(baseInfo.businessContent) || "/" }}
          </view>
        </u-col>
        <u-col span="6">
        </u-col>
      </u-row>
    </view>
  </view>
</template>

<script>
import fsection from "@/components/form-section.vue";
export default {
  components:{
    fsection,
  },
  props:['baseInfo',],
  data(){
    return{
      title:{
        basemsg:"经营信息",
      },
      customStyle:{
        padding:"20rpx 32rpx",
      },
      basemsg:{},
    }
  },
  created(){

  },
  methods:{
    getDicNames(code){
      let sName = this.$u.dic.getDicNameByKeyCode(this.$u.dic.DIC_KEYS.L_BUSINESS_CONTENT, code);
      return sName == '' ? undefined : sName;
    },
  },

}
</script>

<style lang="scss" scoped>
@import "../unlicense_item.scss";
</style>
